gl renderer: Fix hidpi cairo node rendering
authorTimm Bäder <mail@baedert.org>
Sat, 27 Jan 2018 10:02:07 +0000 (11:02 +0100)
committerTimm Bäder <mail@baedert.org>
Sat, 27 Jan 2018 10:06:38 +0000 (11:06 +0100)
commit684624005a3c1d62521f7837f71ffb3b7aae1b94
treecd2241e4a5b02d0c7e12f9403d9b68b13e14aff2
parent1fb5d389db33981be0cad53efd3c2c94698ff675
gl renderer: Fix hidpi cairo node rendering

We can't just unconditionally create a larger texture here, since the
incoming cairo surface might have a device scale that doesn't fit our
scale_factor. Instead, look up the surface device scale and use that.
gsk/gl/gskglrenderer.c